<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/8/17
  Time: 9:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>-分配答辩组-</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <script src="../layui/layui.js"></script>

    <style>
        body {
            background-color: #eeeeee;
        }

        .layui-row {
            background-color: white;
            margin: 10px;
            padding: 10px;
        }

        select {
            border: 0.5px solid #eeeeee;
        }
    </style>
</head>
<body>

<div class="layui-layout layui-layout-admin">


    <%--面包屑--%>
    <div class="layui-row">
        <div class="layui-col-lg12">
                <span class="layui-breadcrumb">
                  <a href="http://localhost/admin/admin.jsp">首页</a>
                    <a class="" href="javascript:;">评分管理</a>
                    <a href="http://localhost/admin/replygroupAssign.jsp">分配答辩组</a>
                </span>
        </div>
    </div>

    <%--顶部搜索栏--%>
    <div class="layui-row">
        <div class="layui-col-lg3" style="font-size: 16px;">
            <div class="layui-form-item">
                <label class="layui-form-label">工号：</label>
                <div class="layui-input-inline">
                    <input type="text" name="tNO" placeholder="请输入要查询的教师的工号" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-lg1">
            <button type="button" class="layui-btn"><i class="layui-icon layui-icon-search"
                                                       style="font-size: 20px; color: white;"></i>搜索
            </button>
        </div>
    </div>


    <%--数据表格-选项卡样式--%>
    <div class="layui-row">
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title">
                <li class="layui-this">分配答辩组教师</li>
                <li>已有答辩老师</li>
                <li>答辩小组名单</li>
                <li>学生分组情况</li>
            </ul>
            <div class="layui-tab-content" style="height: 700px;">
                <div class="layui-tab-item layui-show">
                    <table id="replyReviewerAssign-table" lay-filter="replyReviewerAssign-table"></table>
                </div>
                <div class="layui-tab-item">
                    <table id="replygroupAssign-table" lay-filter="replygroupAssign-table"></table>
                </div>
                <div class="layui-tab-item">
                    <div class="layui-row">
                        <button type="button" class="layui-btn" id="allotGroup">
                            <i class="layui-icon layui-icon-addition" style="font-size: 20px; color: white;"></i>分配答辩小组
                        </button>
                        <button type="button" class="layui-btn" id="resetGroup">
                            <i class="layui-icon layui-icon-addition" style="font-size: 20px; color: white;"></i>重新分配
                        </button>

                    </div>
                    <div class="layui-row">
                        <table id="group-table" lay-filter="group-table"></table>
                    </div>
                </div>
                <div class="layui-tab-item">
                    <div class="layui-row">
                        <button type="button" class="layui-btn" id="allotStu">
                            <i class="layui-icon layui-icon-addition" style="font-size: 20px; color: white;"></i>随机分配答辩小组
                        </button>
                    </div>
                    <table id="paper-table" lay-filter="paper-table"></table>
                </div>
            </div>
        </div>
    </div>


</div>
</body>
<%--表内工具栏--%>
<script type="text/html" id="replygroupAssignBtn">
    <a class="layui-btn layui-btn-xs" lay-event="replygroupA">分配</a>
</script>
<%--表内工具栏-分配答辩时间和地点--%>
<script type="text/html" id="addressAssignBtn">
    <a class="layui-btn layui-btn-xs" lay-event="addTimeAndAddress">分配时间及地点</a>
</script>


<%--弹出层分配地点和时间--%>
<div class="layui-row" id="addTimeAndAddress" style="margin: 20px;width:700px;height:200px;display: none">
    <div class="layui-form-item">
        <label class="layui-form-label">答辩组编号:</label>
        <div class="layui-input-block">
            <span id="replyId"></span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">答辩组长:</label>
        <div class="layui-input-block">
            <span id="replyLeader"></span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">答辩组成员:</label>
        <div class="layui-input-block">
            <span id="replyMember"></span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" for="replyAddress">答辩地点：</label>
        <div class="layui-input-block">
            <input type="text" id="replyAddress" class="layui-input" placeholder="输入答辩地点">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" for="replyTime">答辩时间：</label>
        <div class="layui-input-block">
            <input type="text" id="replyTime" class="layui-input" placeholder="yyyy-MM-dd HH:mm:ss">
        </div>
    </div>


    <div class="layui-col-lg1 layui-col-lg-offset4">
        <button class="layui-btn" style="width: 200px" id="addTimeBtn">分配
        </button>
    </div>
</div>

<script src="js/replygroupAssign.js"></script>
</html>

